package com.idheima.zuoye.zuoye4;

public class Dog extends  Animal{

    public Dog(String name) {
        super(name);
    }

    @Override
    public void eat() {
        System.out.println(getName()+"吃狗粮");
    }
}
